Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang/go: Added more features for testing in golang layer #3250

Closed

Conversation

bogdanteleaga
Copy link
Contributor

Adds 3 more functions for golang testing.

During testing the PR I noticed that since I use gocheck it needs -check.f not -run, but regular go uses -run, so I included both options.

@bogdanteleaga
Copy link
Contributor Author

Looks like (other-window -1) will cycle counter-clockwise. What I'm looking for is the test results to open in another buffer while the focus stays in the buffer that I launched them from. I'm open to suggestions.

@bogdanteleaga bogdanteleaga force-pushed the golang-test-features branch 4 times, most recently from d7f8a66 to 24bd7cc Compare October 7, 2015 17:12
@syl20bnr
Copy link
Owner

syl20bnr commented Oct 7, 2015

I don't code in Go for now ;-)
Quick question: Have you looked at https://github.com/nlamirault/gotest.el ?

@bogdanteleaga
Copy link
Contributor Author

Yup. #3234 :)
The idea of using re-search-backward is taken from there, but I simplified it a bit and added support for suites and gocheck

@bogdanteleaga
Copy link
Contributor Author

In case it helps taking a decision, since the layer is using gofmt, the regex should never fail, because the function declarations are theoretically always formatted properly.

@TheBB
Copy link
Collaborator

TheBB commented Oct 29, 2015

Thank you! Cherry-picked in develop. You can safely delete your branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants